﻿using System.Collections.Generic;

namespace DotNetConverter
{
    public abstract class CodeElement
    {
        protected readonly string _code;

        public CodeElement(string Code)
        {
            _code = Code;
            Parse();
        }

        protected abstract void Parse();

        public abstract List<CodeElement> Children { get; }
    }
}
